package com.qc.toutiao.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.qc.toutiao.pojo.News;



public interface NewMapper {
    
	int deleteByPrimaryKey(Integer id);

    int insert(News record);

    int insertSelective(News record);

    News selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKeyWithBLOBs(News record);

    int updateByPrimaryKey(News record);
	
	
	public List<Map<String, Object>> findPageAll(@Param("indexPage")Integer indexPage,@Param("pageSize")Integer pageSize);
	
}
